Set delivery method
POST/baskets/:id/provider/:providerBasketId/set-delivery-method
Sets the delivery method for a specific provider basket. Delivery methods that are available for a given provider will be on the provider order itself.
Request
Path Parameters
The id of the basket
The id of the provider basket basket
Header Parameters
The API key for the given store
- application/json
Body
required
- Models.DeliveryMethods.KioskCollectionDeliverySelection
- Models.DeliveryMethods.AddressDeliverySelection
- Models.DeliveryMethods.EmailDeliverySelection
- KioskCollection
- Address
- KioskCollection
- Address
- KioskCollection
- Address
deliveryMethod object required
Possible values: [KioskCollection]
The id of the kiosk that the order will be collected from.
Possible values: [KioskCollection, Address, Email]
The type of the delivery method selection
circular(Models.DeliveryMethods.KioskCollectionDeliverySelection)
Possible values: [Address]
The id of a pre existing address that the customer wants to use.
address object
Possible values: [Email]
The email address that the order will be delivered to.
Possible values: [Address]
The id of a pre existing address that the customer wants to use.
address object
Possible values: [KioskCollection, Address, Email]
The type of the delivery method selection
Possible values: [KioskCollection]
The id of the kiosk that the order will be collected from.
circular(Models.DeliveryMethods.AddressDeliverySelection)
Possible values: [Email]
The email address that the order will be delivered to.
Possible values: [Email]
The email address that the order will be delivered to.
Possible values: [KioskCollection, Address, Email]
The type of the delivery method selection
Possible values: [KioskCollection]
The id of the kiosk that the order will be collected from.
Possible values: [Address]
The id of a pre existing address that the customer wants to use.
address object
circular(Models.DeliveryMethods.EmailDeliverySelection)
Responses
- 202
The request has been accepted for processing, but processing has not yet completed.
- application/json
- Schema
- Example (from schema)
Schema
The id of a notification that represents this asynchronous request. OneBasket will be processing the request in the background, and upon completion this notification will be updated with the result.
{
"notificationId": "string"
}